/******************************************************************************
File:			plc_proc.H
Author:			William Young	
Date:			2012-04-26
Version: 		v1.0
******************************************************************************/
#ifndef _PLC_PROC_H
#define _PLC_PROC_H

#include "bl6810.h"
#include "msg.h"
#include "msg_queue.h"
#include "plc.h"


byte get_plc_send_mode();
bool decode_plc_received_msg(unsigned char * pHead, byte length);
bool plc_receive_msg_proc();
bool plc_send_rts();
bool plc_waiting_cts();
bool next_send_mode();

bool add_carrier_senser();
bool clear_carrier_senser();

#endif
